package com.dd.census.entity;

import java.io.Serializable;
import com.dd.census.entity.base.BaseEntity;
import lombok.Data;
import java.util.Date;

/**
 * Attendance
 * @author whn 2021-02-20
 */
@Data
public class Attendance extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ad_id  
     */
    private Integer adId;

    /**
     * ad_dueatt  当月应出勤
     */
    private String adDueatt;

    /**
     * ad_attend  实际出勤日
     */
    private String adAttend;

    /**
     * ad_salary  当月薪资
     */
    private Double adSalary;

    /**
     * ad_estimate  预计回款日
     */
    private Date adEstimate;

    /**
     * ad_collection  实际回款日
     */
    private Date adCollection;

    /**
     * ad_duerec  应回款金额
     */
    private Double adDuerec;

    /**
     * ad_receival  实际回款金额
     */
    private Double adReceival;

    /**
     * ad_invoice  发票是否已开
     */
    private Boolean adInvoice;

    /**
     * 是否已汇款
     */
    private Boolean adReceivalFlag;

    /**
     * ad_remarks  备注
     */
    private String adRemarks;

    /**
     * create_time  
     */
    private Date createTime;

    /**
     * create_user_id  
     */
    private Integer createUserId;

    /**
     * update_time  
     */
    private Date updateTime;

    /**
     * update_user_id  
     */
    private Integer updateUserId;

    /**
     * ad_user_id  用户id
     */
    private Integer adUserId;

    /**
     * ad_year_month  考勤月份
     */
    private String adYearMonth;

    /**
     * roleId  当前登录人身份
     */
    private String roleId;

    /**
     * 人员名称
     */
    private String sName;

    /**
     * 员工类型 1.合同 2.蓝领 0.非合同
     */
    private String adStaffType;

    private Staff1 staff1 ;

    private String tcType;

    /**
     * 统计绩效中预计毛利润算法
     */
    private double ymlr;

    /**
     * 统计绩效中实际毛利润算法
     */
    private double smlr;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getAdId() {
        return adId;
    }

    public void setAdId(Integer adId) {
        this.adId = adId;
    }

    public String getAdDueatt() {
        return adDueatt;
    }

    public void setAdDueatt(String adDueatt) {
        this.adDueatt = adDueatt;
    }

    public String getAdAttend() {
        return adAttend;
    }

    public void setAdAttend(String adAttend) {
        this.adAttend = adAttend;
    }

    public Double getAdSalary() {
        return adSalary;
    }

    public void setAdSalary(Double adSalary) {
        this.adSalary = adSalary;
    }

    public Date getAdEstimate() {
        return adEstimate;
    }

    public void setAdEstimate(Date adEstimate) {
        this.adEstimate = adEstimate;
    }

    public Date getAdCollection() {
        return adCollection;
    }

    public void setAdCollection(Date adCollection) {
        this.adCollection = adCollection;
    }

    public Double getAdDuerec() {
        return adDuerec;
    }

    public void setAdDuerec(Double adDuerec) {
        this.adDuerec = adDuerec;
    }

    public Double getAdReceival() {
        return adReceival;
    }

    public void setAdReceival(Double adReceival) {
        this.adReceival = adReceival;
    }

    public Boolean getAdInvoice() {
        return adInvoice;
    }

    public void setAdInvoice(Boolean adInvoice) {
        this.adInvoice = adInvoice;
    }

    public String getAdRemarks() {
        return adRemarks;
    }

    public void setAdRemarks(String adRemarks) {
        this.adRemarks = adRemarks;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Integer getAdUserId() {
        return adUserId;
    }

    public void setAdUserId(Integer adUserId) {
        this.adUserId = adUserId;
    }

    public String getAdYearMonth() {
        return adYearMonth;
    }

    public void setAdYearMonth(String adYearMonth) {
        this.adYearMonth = adYearMonth;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Boolean getAdReceivalFlag() {
        return adReceivalFlag;
    }

    public void setAdReceivalFlag(Boolean adReceivalFlag) {
        this.adReceivalFlag = adReceivalFlag;
    }

    public Staff1 getStaff1() {
        return staff1;
    }

    public void setStaff1(Staff1 staff1) {
        this.staff1 = staff1;
    }

    public String getTcType() {
        return tcType;
    }

    public void setTcType(String tcType) {
        this.tcType = tcType;
    }

    public String getAdStaffType() {
        return adStaffType;
    }

    public void setAdStaffType(String adStaffType) {
        this.adStaffType = adStaffType;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public double getYmlr() {
        return ymlr;
    }

    public void setYmlr(double ymlr) {
        this.ymlr = ymlr;
    }

    public double getSmlr() {
        return smlr;
    }

    public void setSmlr(double smlr) {
        this.smlr = smlr;
    }
}